home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hardcore Visual Basic 5.0 (2nd Edition)
/
Hardcore Visual Basic 5.0 - Second Edition (1997)(Microsoft Press).iso
/
Code
/
Goodies
/
Wiper
/
Wiper.bas
< prev
next >
Wrap
BASIC Source File
|
1996-11-21
|
435b
|
9 lines
Attribute VB_Name = "WiperBAS"
Declare Function WritePrivateProfileString& Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal AppName$, ByVal KeyName$, ByVal keydefault$, ByVal FileName$)
Sub AddToINI()
'this code adds an entry to the file VBADDIN.INI
'this code should be executed from the immediate window
debug.print WritePrivateProfileString("Add-Ins32", "AddInDebugWiper.Connect", "0", "VBADDIN.INI")
End Sub